package com.sy.entity;

import java.util.Date;

/**
 * 漫画表
 */
public class Cartoon {
    private Integer id;
    private String name;
    private String author; //作者
    private String company; //公司
    private Integer theme;  //题材
    private Integer area; //地区
    private Integer progress;  //进度，1连载 2完结
    private Integer charge; //是否收费， 1 免费  2 付费   3 等就免费
    private Date updateTime; //更新时间
    private Integer numberOfPeople; //追漫人数
    private Date launchTime; //上架时间
    private String birefIntroduction; //漫画简介
    private Integer numberOfCartoon; //漫画多少话
    private Double monthlyTicket;  //月票
    private String img; //图片
    private Integer clickNumber;  //点击次数

    private String themeName;  //题材的名字
    private String areaName;  //地区名字

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Integer getTheme() {
        return theme;
    }

    public void setTheme(Integer theme) {
        this.theme = theme;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    public Integer getProgress() {
        return progress;
    }

    public void setProgress(Integer progress) {
        this.progress = progress;
    }

    public Integer getCharge() {
        return charge;
    }

    public void setCharge(Integer charge) {
        this.charge = charge;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getNumberOfPeople() {
        return numberOfPeople;
    }

    public void setNumberOfPeople(Integer numberOfPeople) {
        this.numberOfPeople = numberOfPeople;
    }

    public Date getLaunchTime() {
        return launchTime;
    }

    public void setLaunchTime(Date launchTime) {
        this.launchTime = launchTime;
    }

    public String getBirefIntroduction() {
        return birefIntroduction;
    }

    public void setBirefIntroduction(String birefIntroduction) {
        this.birefIntroduction = birefIntroduction;
    }

    public Integer getNumberOfCartoon() {
        return numberOfCartoon;
    }

    public void setNumberOfCartoon(Integer numberOfCartoon) {
        this.numberOfCartoon = numberOfCartoon;
    }

    public Double getMonthlyTicket() {
        return monthlyTicket;
    }

    public void setMonthlyTicket(Double monthlyTicket) {
        this.monthlyTicket = monthlyTicket;
    }

    public String getThemeName() {
        return themeName;
    }

    public void setThemeName(String themeName) {
        this.themeName = themeName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getClickNumber() {
        return clickNumber;
    }

    public void setClickNumber(Integer clickNumber) {
        this.clickNumber = clickNumber;
    }

    @Override
    public String toString() {
        return "Cartoon{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", author='" + author + '\'' +
                ", company='" + company + '\'' +
                ", theme=" + theme +
                ", area=" + area +
                ", progress=" + progress +
                ", charge=" + charge +
                ", updateTime=" + updateTime +
                ", numberOfPeople=" + numberOfPeople +
                ", launchTime=" + launchTime +
                ", birefIntroduction='" + birefIntroduction + '\'' +
                ", numberOfCartoon=" + numberOfCartoon +
                ", monthlyTicket=" + monthlyTicket +
                ", img='" + img + '\'' +
                ", clickNumber=" + clickNumber +
                ", themeName='" + themeName + '\'' +
                ", areaName='" + areaName + '\'' +
                '}';
    }
}
